package com.shanghaionstar.home.iview;

import com.onstar.cn.common.exception.OnStarException;
import com.onstar.cn.framework.mvp.base.IMVPView;
import com.onstar.cn.mag.publicService.response.ResponBannerEntity;
import com.onstar.cn.weight.discover.ItemViewData;
import com.shanghaionstar.home.model.DrivingScore;
import com.shanghaionstar.home.model.HomeModel;

import java.util.List;

/**
 * Created by 6335yz on 2016/6/24.
 */
public interface IHomeView extends IMVPView<HomeModel> {
    void onLoadDataRefresh();
    void onShowShortCuts(List<ItemViewData> itemViews);

    void showBallLoadingMsg(String msg);

    void showDrivingScore(DrivingScore drivingScore);

    void showLoadDrivingScoreErr(Throwable throwable);

    void showCommandInProgress();

    void showViewByRole(String role);

    void notLogin();

    void isAutoLogin();

    void showUpgrade(OnStarException e);

    void showMro(boolean isShow);

    void showSmartDriver(boolean isShow);

    void onShowBanner(List<ResponBannerEntity> bannerEntities);

    void onBehindGetData(int state);
}
